package ilender.facebook;

import lombok.*;

/**
 * Handler for a Facebook user.
 */
public class FBUser extends FBObject{
	/**
	 * Constructor.
	 *
	 * @param graphAPI The owner GraphAPI object.
	 * @param id The Facebook id of the user.
	 */
	FBUser(GraphAPI graphAPI,long id){
		super(graphAPI,id);
	}

	/**
	 * Creates a handler for sending a notifiaction to the user
	 *
	 * @return The notifiaction-sending handler.
	 */
	public FBNotification notification(){
		return new FBNotification(this);
	}
}
